package com.mercycrazy.recruit.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 用户登录返回的信息
 *
 * @author <a href="mailto:1443424326@qq.com">mercycrazy</a>
 * @since 2023-01-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "用户登录返回的信息")
public class UserLoginInfo implements Serializable {

    @Schema(description = "用户详细信息")
    private UserInfo userInfo;

    @Schema(description = "用户登录凭证")
    private String userToken;
}
